
<ion-view id="information" view-title="支付信息" cache-view="false" align-title="center" hide-tabs>
    <!-- 申请额度-页眉 -->
    <div class="bar bar-header assertive-bg">
        <h1 class="title light">支付信息</h1>
    </div>
    <ion-content class=" has-header scroll-content">
        <div class="list list-inset">
            <label on-tap="modal.show()" ng-click="choose(1)"  class="item item-input">
                <span class="input-label">银行信息</span>
                <input type="text" class="task-input"
                       placeholder=" 请选择银行"
                       ng-model="blankchoose">
                <i class="ion-arrow-right-b business_ion"></i>
            </label>
            <label on-tap="modal.show()" ng-click="choose(2)"  class="item item-input">
                <span class="input-label">支付地区</span>
                <input type="text" class="task-input"
                       placeholder=" 请选择支付地"
                       ng-model="areachoose">
                <i class="ion-arrow-right-b business_ion"></i>
            </label>

        </div>
        <div class="obtainlist">
            <input type="button" value="获取开户银行列表" ng-click="obtain()">
            <ul>
                <li ng-repeat="lis in arrs">
                    <table>
                        <tr>
                            <td>地址：</td>
                            <td>{{lis[0].adress}}</td>
                        </tr>
                        <tr>
                            <td>银行：</td>
                            <td>{{lis[0].branchName}}</td>
                        </tr>
                        <tr>
                            <td>银行编码：</td>
                            <td>{{lis[0].branchNo}}</td>
                        </tr>
                    </table>
                </li>
            </ul>
        </div>
        <!--银行信息模板-->
        <script id="templates/information.html" type="text/ng-template">
            <ion-modal-view>
                <ion-header-bar class="bar bar-header bar-positive">
                    <h1 class="title">{{choosestyle}}</h1>
                    <button class="button button-clear button-primary" ng-click="modal.hide()">取消</button>
                </ion-header-bar>
                <ion-content class="padding has-header scroll-content" >
                    <div class="list list-inset" >
                        <ion-list style ="margin-bottom: 50px;background-color: red">
                            <ion-radio ><h2>全部</h2></ion-radio>
                            <ion-radio  ng-repeat="item in clientSideList"  class ="row"
                                        ng-model="data0"
                                        ng-value ="item.acctNo"  ng-click="createContact(item)">
                                <div class = "col-50" style ="margin: 0; float: left;width:44%;padding-right: 5px;" >

                                    <p style="font-size: 12px">[{{item.id}}]</p>
                                    <p style="font-size: 12px">{{item.itemValue}}</p>
                                </div>
                                <div class = "col-50" style ="padding-left: 5px; float: left;  border-left: 1px solid red;">
                                <div ><p style="font-size: 12px">{{ item.itemCode}}</p></div>
                                <div ><p style="font-size: 12px">{{ item.acctNo }}</p></div>
                            </div>

                            </ion-radio>
                        </ion-list>
                    </div>
                </ion-content>
            </ion-modal-view>
        </script>
    </ion-content>

</ion-view>
